package com.tcoiss.datafactory.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.tcoiss.common.core.annotation.Excel;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;
import java.util.HashMap;
import java.util.Map;

/**
 * 转换对象 k_trans
 * 
 * @author zw
 * @date 2021-06-01
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("k_trans")
public class KTrans implements Serializable {

private static final long serialVersionUID=1L;


    /** 转换Id */
    @TableId(type = IdType.AUTO)
    private Long id;

    /** 分类ID */
    @Excel(name = "分类ID")
    private Integer categoryId;

    /** 转换名称 */
    @Excel(name = "转换名称")
    private String transName;

    /** 转换描述 */
    @Excel(name = "转换描述")
    private String transDescription;

    /** 转换类型 */
    @Excel(name = "转换类型")
    private String transType;

    /** 转换路径 */
    @Excel(name = "转换路径")
    private String transPath;

    /** 转换资源库ID */
    @Excel(name = "转换资源库ID")
    private Integer transRepositoryId;

    /** 状态 */
    @Excel(name = "状态")
    private Integer transStatus;

    /** 添加时间 */
    @Excel(name = "添加时间" , width = 30, dateFormat = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date addTime;

    /** 添加者 */
    @Excel(name = "添加者")
    private String addUser;

    /** 是否删除 */
    @Excel(name = "是否删除")
    private Integer delFlag;

    /** 转换参数 */
    @Excel(name = "转换参数")
    private String transParams;

    @TableField(exist = false)
    private Map<String, Object> params = new HashMap<>();
}
